package com.heatingcharge.param;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ChargePriceParam {
    private Integer id;

    @NotNull(message = "年度不可以为空")
    private Integer heatYearId;


    /**
     * 民用价格
     */
    @NotNull(message = "民用价格不能为空")
    @Min(value = 0,message = "民用价格不能小于0")
    private BigDecimal civilPrice;

    /**
     * 商用价格
     */
    @NotNull(message = "商用价格不能为空")
    @Min(value = 0,message = "商用价格不能小于0")
    private BigDecimal comlPrice;

    /**
     * 公建价格
     */
    @NotNull(message = "公建价格不能为空")
    @Min(value = 0,message = "公建价格不能小于0")
    private BigDecimal pubuildPrice;

    /**
     * 低保户价格
     */
    @NotNull(message = "低保价格不能为空")
    @Min(value = 0,message = "低保价格不能小于0")
    private BigDecimal lowincoPrice;

    /**
     * 停热收费比例
     */
    private Integer stopRatio;

    /**
     * 滞纳金比例
     */
    private Integer lateRatio;
}
